package com.gitee.jisong.kit;

import java.text.MessageFormat;

/**
 * @author sunjisong 2019-07-16
 */
public class StringKit {

    /**
     * https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html
     *
     * @param pattern
     * @param arguments
     * @return
     */
    public static String format(String pattern, Object ... arguments){
        return MessageFormat.format(pattern,arguments);
    }

}
